package com.dyp.demo.OpenFeignDemo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name="PROVIDER-SERVER")
public interface DemoWorkerService {
    @GetMapping(value = "/mvc/{name}")
    String sayName(@PathVariable(name = "name") String name);

}
